<script setup lang="ts">

import LeftChinaMap from '@/views/components/leftChinaMap.vue'
import RightTrend from '@/views/components/RightTrend.vue'
import RightMedia from '@/views/components/RightMedia.vue'
import WordClouds from '@/views/components/wordClouds.vue'
import HotInfprmation from '@/views/components/hotInfprmation.vue'
</script>

<template>
  <div class="conter">
    <!--  头部-->
    <header class="w header">
      <img src="@/assets/logo.png" alt="">
    </header>
    <!--  中部-->
    <div class="contener w">
      <!--    中部左面-->
      <div class="contenerLeft">
        <p>统计数据</p>
        <div>
          <div class="amountData"><p>数据总量</p></div>
          <div class="amountValue"><p>71111</p></div>
          <div class="chinesMap">
            <!--            中国地图-->
            <div>
              <left-china-map></left-china-map>
            </div>
          </div>
        </div>
      </div>
      <!--    中部右面-->
      <div class="contenertRight">
        <p>任务管理</p>
        <!--        右面模块一-->
        <div class="modelOne">
          <div>
            <p>舆情走势</p>
            <div>
              <RightTrend></RightTrend>
            </div>
          </div>
          <div>
            <p>媒体活跃占比</p>
            <div>
              <right-media></right-media>
            </div>
          </div>
        </div>
        <div class="modelTwo">
          <div>
            <p>词云</p>
            <div>
              <word-clouds></word-clouds>
            </div>
          </div>
          <div>
            <p>热点信息</p>
            <div>
              <hot-infprmation></hot-infprmation>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</template>

<style scoped lang="less">
.chinesMap{
  div{
    width: 100%;
    height: 100%;
  }
  width: 100%;
  height: 100%;
}
.w {
  width: 1500px;
  margin: 0 auto;
}

//主体
.conter {
  background: url("@/assets/yuqing.76669b57195f44977131.png") no-repeat;
  background-size: 100% 100%;
  width: 100%;
  height: 100vh;
  //头部
  .header {
    padding-top: 50px;
    display: flex;
    justify-content: center;
  }

  .header img {
    width: 200px;
  }

  //中部
  .contener {
    margin-top:15px ;
    display: flex;
    //中部左面
    .contenerLeft {
      width: 40%;
      background: url("@/assets/screen-border.08113e772d75d7b170c8.png");
      background-size: 100% 100%;
      padding: 10px;
      height: 600px;
      //数据总量
      > p {
        color: #1d92e5;
        text-align: center;
        width: 100%;
        background: url("@/assets/article.5e42a2c6c2b01756a190.png") no-repeat;
        background-size: 100% 100%;
      }

      //统计数据
      > div {
        width: 100%;
        height: 90%;
        background: url("@/assets/mapbg.f31cfd5da5bc8c77dfe3.png") no-repeat;
        background-size: 100% 100%;

        .amountData {
          font-size: 18px;
          text-align: center;
          color: white;
          margin: 10px 0;
        }

        .amountValue {
          font-size: 22px;
          text-align: center;
          color: #60e2fb;
        }
      }
    }

    .contenertRight {
      > p {
        color: #1d92e5;
        text-align: center;
        width: 100%;
        background: url("@/assets/article.5e42a2c6c2b01756a190.png") no-repeat;
        background-size: 100% 100%;
      }
    }
  }

  //中部右面
  .contenertRight {
    padding: 10px;
    width: 60%;
    height: 600px;
    background: url("@/assets/screen-border.08113e772d75d7b170c8.png");
    background-size: 100% 100%;
    //四个模块
    > .modelOne, .modelTwo {
      margin: 10px 0;
      box-sizing: border-box;
      height: 50%;
      padding: 10px;
      display: flex;

      > div {
        margin-right: 5px;
        width: 50%;

        > p {
          color: #1eb1e3;
          margin-bottom: 5px;
        }

        > div {
          height: 100%;
          width: 100%;
        }
      }
    }
  }
}
</style>
